Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加动态线条特效失败 #883

Open
Wenretium opened this issue Jun 6, 2021 · 2 comments
Open

添加动态线条特效失败 #883

Wenretium opened this issue Jun 6, 2021 · 2 comments

Comments

@Wenretium
Copy link

除了在layout.ejs文件中最后两行之间增加这样一段代码

<!--动态线条背景-->
<script type="text/javascript"
color="220,220,220" opacity='0.7' zIndex="-2" count="200" src="//cdn.bootcss.com/canvas-nest.js/1.0.0/canvas-nest.min.js">
</script>

layout.ejs文件没有做任何其他改动。但是此特效无法正常显示,只有鼠标移到在右侧滚动条上时会有特效,但也是不完整的特效。鼠标移到其他地方则完全没反应。
本人前端新手,怀疑是自己动了其他文件的影响,也可能是主题不适配?请教一下可能是哪些文件的原因,谢谢!

@moxia
Copy link

moxia commented Jun 11, 2021

zIndex="10000"

@Wenretium
Copy link
Author

zIndex="10000"

谢谢回复,特效终于有了,但这样的改动出现了新问题:网页无法点击,鼠标点击哪里都无效,也不能上下滚动页面

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants